core: Ensure .archive-content files are mode 0644
authorColin Walters <walters@verbum.org>
Thu, 23 Feb 2012 17:34:43 +0000 (12:34 -0500)
committerColin Walters <walters@verbum.org>
Thu, 23 Feb 2012 17:34:43 +0000 (12:34 -0500)
commit802959f398bfc0c7acac9252e7a8f1a021884ce8
tree44b04758b7c60673da4e4348e318483967f550df
parentdee30bda7c677a2d7efc98a2fa4443c8080190be
core: Ensure .archive-content files are mode 0644

We don't want to inherit the permissions of the actual file, otherwise
trying to fetch e.g. /etc/passwd when being served via Apache httpd
will break.
src/libostree/ostree-core.c